package itsos.dao;

import org.springframework.orm.ibatis.support.*;
import itsos.model.*;

import java.util.*;

public class IssueReferenceDao extends SqlMapClientDaoSupport {

	public List getIssueReferenceByIssueID(long issueID)
	{
		return getSqlMapClientTemplate().queryForList("IssueReference.getIssueReferenceByIssueID", issueID);
		
	}
	
	public void insertIssueReference(IssueReference issueReference)
	{
		getSqlMapClientTemplate().insert("IssueReference.insertIssueReference", issueReference);
	}
	
	public void deleteIssueReference(IssueReference issueReference)
	{
		getSqlMapClientTemplate().update("IssueReference.deleteIssueReference", issueReference);
	}
	
}
